package lesson02.ui;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public abstract class AbstractUi {
	
	protected String getInputedString(){
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		try{
			return input.readLine();
		}catch(IOException io){
			throw new IORuntimeException("Did not writing at Console.");
		}
	}
	
	abstract public void show();

}
